package com.crimerank;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class SafetyDialog extends Dialog {

    public SafetyDialog(Context context, int theme) {
        super(context, theme);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Button buttonOK = (Button) findViewById(R.id.safetyBack);
        buttonOK.setOnClickListener(new OKListener());
    }

    private class OKListener implements android.view.View.OnClickListener {

		@Override
		public void onClick(View v) {
			SafetyDialog.this.dismiss();
		}
    }

}
